/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.entity.sys;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 乐购公告管理Entity
 * @author 李欣荣
 * @version 2018-09-29
 */
public class HkShopNotice extends DataEntity<HkShopNotice> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// 标题
	private String imgSrc;		// 图片
	private String ismonth;		// 状态
	
	public HkShopNotice() {
		super();
	}

	public HkShopNotice(String id){
		super(id);
	}

	@Length(min=0, max=200, message="标题长度必须介于 0 和 200 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Length(min=0, max=200, message="图片长度必须介于 0 和 200 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
	@Length(min=0, max=11, message="状态长度必须介于 0 和 11 之间")
	public String getIsmonth() {
		return ismonth;
	}

	public void setIsmonth(String ismonth) {
		this.ismonth = ismonth;
	}
	
}